package com.fly.dao;

import java.util.List;

import com.fly.common.PaginationSupport;
import com.fly.model.TMeasure;
import com.fly.model.TMeasureExample;

@SuppressWarnings("rawtypes")
public interface TMeasureDAO
{
    int countByExample(TMeasureExample example);
    
    int deleteAll();
    
    int deleteByExample(TMeasureExample example);
    
    int deleteByPrimaryKey(Long id);
    
    void deleteByPrimaryKey(List<Long> ids);
    
    void insert(TMeasure record);
    
    void insert(final List<TMeasure> records);
    
    void insertSelective(TMeasure record);
    
    void insertSelective(List<TMeasure> records);
    
    List<TMeasure> selectAll();
    
    List<TMeasure> selectByExample(TMeasureExample example);
    
    TMeasure selectByPrimaryKey(Long id);
    
    int updateByExampleSelective(TMeasure record, TMeasureExample example);
    
    int updateByExample(TMeasure record, TMeasureExample example);
    
    int updateByPrimaryKeySelective(TMeasure record);
    
    void updateByPrimaryKeySelective(List<TMeasure> records);
    
    int updateByPrimaryKey(TMeasure record);
    
    void updateByPrimaryKey(final List<TMeasure> records);
    
    PaginationSupport queryPagingEntities(TMeasureExample example, int pageNo, int pageSize);
}